<link href="/admins/css/common.css" media="screen" rel="stylesheet" type="text/css" >
<link type="text/css" href="/admins/js/jquery/css/ui-lightness/jquery-ui-1.8.20.custom.css" rel="stylesheet" />
<script type="text/javascript" src="/admins/js/jquery/jquery-ui-1.8.20.custom.min.js"></script>
<script type="text/javascript" src="/admins/js/jquery/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="/admins/js/pagerView/pager-view.js"></script>
<script type="text/javascript">
    $(function(){
    
        $.datepicker.setDefaults( $.datepicker.regional[ "zh-CN" ] );
        $( "#form1 #dateinbegin" ).datepicker({
            changeMonth: true,
            changeYear: true
        });
        $( "#form1 #dateinend" ).datepicker({
            changeMonth: true,
            changeYear: true
        });
    });
</script>
<style>
    #sel * {
        padding: 2px;
    }
</style>
<form action="/admini/managestore/topaypackage" method="post" style="margin:0px" id="form1">
<div style=" border:1px solid #DDDDDD; padding:5px; margin:20px 15px;" id='sel'>
<label for="member">快速搜索：</label><input type="text" id="quick" name="quick" value="<?php echo $this->quick; ?>" />
<label for="starttime">入库时间：</label><input type="text" id="dateinbegin" name="dateinbegin" value="<?php echo $this->dateinbegin; ?>" />
<label for="endtime">-- </label><input type="text" id="dateinend" name="dateinend" value="<?php echo $this->dateinend; ?>" />
<input type="hidden" name="count" value="<?php $this->count; ?>">
<input type="hidden" name="start" value="<?php $this->start; ?>">
<input type="submit" id="queryButton" value="查询"/>
</div>
</form>
<div class="dataTable" style="margin-left: 12px;">
    <table>                                               
        <tr>
            <th class="w1" width="7%">条形码</th>
            <th class="w2" width="21%">包裹名称</th>
            <th class="w3" width="6%">物流公司</th>
            <th class="w4" width="8%">物流单号</th>
            <th class="w5" width="4%">国内运费</th>
            <th class="w6" width="8%">创建时间</th>
            <th class="w7" width="8%">用户名</th>
            <th class="w8" width="6%">仓库号</th>
            <th class="w9" width="6%">来源</th>
            <th class="w10" width="6%">状态</th>
            <th class="w11" width="6%">操作人</th>
        </tr>  
             <?php foreach($this->StoreItemList as $item){ ?>
               <tr>
                    <td class="w1" nowrap><a href="/admini/managestore/storedetail/id/<?php echo $item->id; ?>" target="_blank"><?php echo $item->barcode?$item->barcode:"暂无"; ?></td>
                    <td class="w2" nowrap><?php echo $item->productName?$item->productName:"暂无"; ?></td>
                    <td class="w3" nowrap><?php echo $item->logisticsName?$item->logisticsName:"暂无"; ?></td>
                    <td class="w4" nowrap><?php echo $item->logistics?$item->logistics:"暂无"; ?></td>
                    <td class="w5" nowrap><?php echo $item->cnShipFee?$item->cnShipFee:"暂无"; ?></td>
                    <td class="w6" nowrap><?php echo $item->dateInStore?$item->dateInStore:"暂无";?></td>
                    <td class="w7" nowrap><a href="/admini/manageuser/userdetail/id/<?php echo $item->userid; ?>" target="_blank"><?php echo $item->userinfo->nikename?$item->userinfo->nikename:"暂无"; ?></a></td>
                    <td class="w8" nowrap><a href="/admini/managestore/index/quick/<?php echo $item->userinfo->storeno;?>" target="_blank"><?php echo $item->userinfo->storeno?$item->userinfo->storeno:"暂无"; ?></a></td>
                    <td class="w9" nowrap><?php echo $item->intype?$item->intype:"无来源"?></td>
                    <td class="w10" nowrap><?php echo $item->InteriorName.($item->isdelete == 1?"（已删除）":"");?></td>
                    <td class="w11" nowrap><?php echo $item->operateName?$item->operateName:"无操作人"; ?></td>
                </tr>
             <?php } ?>   
      </table>
    <div class="toolbar" <?php if (empty($this->StoreItemList)) echo "style='display: none'"; ?>>
        <?php echo $this->partial('paging.phtml', array("pages" => $this->storeAll,"pamas"=>"quick=$this->quick&count=$this->count&dateinbegin=$this->dateinbegin&dateinend=$this->dateinend")); ?>
    </div> 
</div>     